// 添加这个属性来抑制包名警告
#![allow(non_snake_case)]

// 现有的代码保持不变
pub mod config;
pub mod content_detector;
pub mod conversion_progress;
pub mod converter;
pub mod downloader;
pub mod error;
pub mod format;
pub mod playlist;
pub mod progress;
pub mod retry;
pub mod url_resolver;
pub mod utils;

// 重新导出常用的类型，方便外部使用
pub use config::DownloadConfig;
pub use content_detector::ContentDetector;
pub use converter::{ConverterFactory, MediaConverter};
pub use downloader::{Downloader, DownloaderFactory};
pub use error::{DownloadError, DownloadResult};
pub use format::{FormatDetector, SegmentFormat};
pub use playlist::{Playlist, Segment};
pub use progress::{ProgressReporter, DualProgressReporter};
pub use retry::RetryStrategy;